<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>Axis</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1">Axis</p>
<hr class="separator">
<div class="content">
The Axis class represents x and y axes in XY charts.
<br><br>
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Method</th><th width="19%">Inherited</th><th>Description</th>
</tr>
<tr>
<td><a href="Axis.setLabelStyle.htm">setLabelStyle</a></td><td>(Self)</td><td>Sets the font style used to for the axis labels.</td></tr><tr><td><a href="Axis.setLabelFormat.htm">setLabelFormat</a></td><td>(Self)</td><td>Sets the format for numeric or date/time axis labels.</td></tr><tr><td><a href="Axis.setMultiFormat.htm">setMultiFormat</a></td><td>(Self)</td><td>Sets multiple formats for numeric or date/time axis labels.</td></tr><tr><td><a href="Axis.setMultiFormat2.htm">setMultiFormat2</a></td><td>(Self)</td><td>Adds one filter and format string to the multi-format lists.</td></tr><tr><td><a href="Axis.setFormatCondition.htm">setFormatCondition</a></td><td>(Self)</td><td>Specifies the condition that subsequent <a href="Axis.setLabelFormat.htm">Axis.setLabelFormat</a> and <a href="Axis.setMultiFormat.htm">Axis.setMultiFormat</a> will become applicable.</td></tr><tr><td><a href="Axis.setLabelAlignment.htm">setLabelAlignment</a></td><td>(Self)</td><td>Sets the alignment of the axis labels relative to their associated ticks.</td></tr><tr><td><a href="Axis.setLabelGap.htm">setLabelGap</a></td><td>(Self)</td><td>Sets the distance between the axis labels and the ticks on the axis.</td></tr><tr><td><a href="Axis.setLabelOffset.htm">setLabelOffset</a></td><td>(Self)</td><td>Shifts the axis labels from its default position along the axis.</td></tr><tr><td><a href="Axis.setTitle.htm">setTitle</a></td><td>(Self)</td><td>Adds a title to the axis.</td></tr><tr><td><a href="Axis.setTitlePos.htm">setTitlePos</a></td><td>(Self)</td><td>Sets the position of the axis title relative to the axis.</td></tr><tr><td><a href="Axis.setColors.htm">setColors</a></td><td>(Self)</td><td>Sets the colors of the axis itself, axis label, axis title and axis ticks.</td></tr><tr><td><a href="Axis.setTickLength.htm">setTickLength</a></td><td>(Self)</td><td>Sets the length of the axis ticks.</td></tr><tr><td><a href="Axis.setTickLength2.htm">setTickLength2</a></td><td>(Self)</td><td>Sets the length of the major and minor axis ticks.</td></tr><tr><td><a href="Axis.setTickWidth.htm">setTickWidth</a></td><td>(Self)</td><td>Sets the width of the axis ticks.</td></tr><tr><td><a href="Axis.setTickColor.htm">setTickColor</a></td><td>(Self)</td><td>Sets the colors of the axis ticks.</td></tr><tr><td><a href="Axis.setTickOffset.htm">setTickOffset</a></td><td>(Self)</td><td>Shifts the position of the ticks along the axis.</td></tr><tr><td><a href="Axis.setMinTickInc.htm">setMinTickInc</a></td><td>(Self)</td><td>Sets the minimum distance between two ticks on the axis for auto-scaled axis.</td></tr><tr><td><a href="Axis.setWidth.htm">setWidth</a></td><td>(Self)</td><td>Sets the line width of the axis.</td></tr><tr><td><a href="Axis.setLength.htm">setLength</a></td><td>(Self)</td><td>Sets the length of the axis.</td></tr><tr><td><a href="Axis.setMargin.htm">setMargin</a></td><td>(Self)</td><td>Reserve margins at the ends of the axis.</td></tr><tr><td><a href="Axis.setIndent.htm">setIndent</a></td><td>(Self)</td><td>Specifies if the axis should be "indented" or not.</td></tr><tr><td><a href="Axis.setOffset.htm">setOffset</a></td><td>(Self)</td><td>Sets the positional offset of the axis.</td></tr><tr><td><a href="Axis.setAutoScale.htm">setAutoScale</a></td><td>(Self)</td><td>Sets the margins at the two ends of the axis during auto-scaling, and whether to start the axis from zero.</td></tr><tr><td><a href="Axis.setRounding.htm">setRounding</a></td><td>(Self)</td><td>Controls whether to round the ends of the axis to align with tick positions.</td></tr><tr><td><a href="Axis.setTickDensity.htm">setTickDensity</a></td><td>(Self)</td><td>Sets the density of the axis ticks.</td></tr><tr><td><a href="Axis.setReverse.htm">setReverse</a></td><td>(Self)</td><td>Reverse the axis.</td></tr><tr><td><a href="Axis.setLabels.htm">setLabels</a></td><td>(Self)</td><td>Sets the text labels to be used on the axis.</td></tr><tr><td><a href="Axis.setLabels2.htm">setLabels2</a></td><td>(Self)</td><td>Sets the numeric/date/time labels to be used on the axis.</td></tr><tr><td><a href="Axis.setLabelStep.htm">setLabelStep</a></td><td>(Self)</td><td>Shows a regularly spaced subset of the axis labels on the axis.</td></tr><tr><td><a href="Axis.setLinearScale.htm">setLinearScale</a></td><td>(Self)</td><td>Sets the axis to use the given linear scale.</td></tr><tr><td><a href="Axis.setLinearScale2.htm">setLinearScale2</a></td><td>(Self)</td><td>Sets the axis to use the given linear scale and the given labels.</td></tr><tr><td><a href="Axis.setLinearScale3.htm">setLinearScale3</a></td><td>(Self)</td><td>Sets the axis to use linear auto-scale.</td></tr><tr><td><a href="Axis.setLogScale.htm">setLogScale</a></td><td>(Self)</td><td>Sets the axis to use the given logarithmic scale.</td></tr><tr><td><a href="Axis.setLogScale2.htm">setLogScale2</a></td><td>(Self)</td><td>Sets the axis to use the given logarithmic scale and the given labels.</td></tr><tr><td><a href="Axis.setLogScale3.htm">setLogScale3</a></td><td>(Self)</td><td>Sets the axis to use logarithmic auto-scale.</td></tr><tr><td><a href="Axis.setDateScale.htm">setDateScale</a></td><td>(Self)</td><td>Sets the axis to use the given date scale.</td></tr><tr><td><a href="Axis.setDateScale2.htm">setDateScale2</a></td><td>(Self)</td><td>Sets the axis to use the given date scale and the given labels.</td></tr><tr><td><a href="Axis.setDateScale3.htm">setDateScale3</a></td><td>(Self)</td><td>Sets the axis to use date auto-scale.</td></tr><tr><td><a href="Axis.syncAxis.htm">syncAxis</a></td><td>(Self)</td><td>Synchronizes and align this axis with another axis using a linear formula.</td></tr><tr><td><a href="Axis.copyAxis.htm">copyAxis</a></td><td>(Self)</td><td>Copies the scale and labels from another axis.</td></tr><tr><td><a href="Axis.syncScale.htm">syncScale</a></td><td>(Self)</td><td>Synchronizes the scale of this axis with another axis using a linear formula.</td></tr><tr><td><a href="Axis.addLabel.htm">addLabel</a></td><td>(Self)</td><td>Adds an extra label on the axis.</td></tr><tr><td><a href="Axis.addMark.htm">addMark</a></td><td>(Self)</td><td>Adds a mark line to the chart.</td></tr><tr><td><a href="Axis.addZone.htm">addZone</a></td><td>(Self)</td><td>Adds a zone to the chart.</td></tr><tr><td><a href="Axis.makeLabelTable.htm">makeLabelTable</a></td><td>(Self)</td><td>Creates a CDML table and docks it to the axis, with one row (for horizontal axis) or column (for vertical axis) containing the axis labels.</td></tr><tr><td><a href="Axis.getLabelTable.htm">getLabelTable</a></td><td>(Self)</td><td>Gets the CDML table created by <a href="Axis.makeLabelTable.htm">Axis.makeLabelTable</a>.</td></tr><tr><td><a href="Axis.getMinValue.htm">getMinValue</a></td><td>(Self)</td><td>Gets the lower bound of the axis.</td></tr><tr><td><a href="Axis.getMaxValue.htm">getMaxValue</a></td><td>(Self)</td><td>Gets the upper bound of the axis.</td></tr><tr><td><a href="Axis.getX.htm">getX</a></td><td>(Self)</td><td>Gets the x-coordinate of starting point of the axis.</td></tr><tr><td><a href="Axis.getY.htm">getY</a></td><td>(Self)</td><td>Gets the y-coordinate of starting point of the axis.</td></tr><tr><td><a href="Axis.getAlignment.htm">getAlignment</a></td><td>(Self)</td><td>Gets the side of the plot area that the axis is associated with.</td></tr><tr><td><a href="Axis.getThickness.htm">getThickness</a></td><td>(Self)</td><td>Gets the thickness of the axis.</td></tr><tr><td><a href="Axis.getTicks.htm">getTicks</a></td><td>(Self)</td><td>Gets the values of the ticks.</td></tr><tr><td><a href="Axis.getLabel.htm">getLabel</a></td><td>(Self)</td><td>Gets the label at the specified position on the axis.</td></tr><tr><td><a href="Axis.getFormattedLabel.htm">getFormattedLabel</a></td><td>(Self)</td><td>Gets the label at the specified position on the axis, formatting one if necessary.</td></tr><tr><td><a href="Axis.getHTMLImageMap.htm">getHTMLImageMap</a></td><td>(Self)</td><td>Generates an HTML image map for the axis labels.</td></tr><tr><td><a href="Axis.getAxisImageMap.htm">getAxisImageMap</a></td><td>(Self)</td><td>Generates an HTML image map for the axis itself.</td>
</tr>
</table>
</div>

</div>
<hr class="separator"><div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
